//
//  YTFContant.swift
//  sinaWeibo
//
//  Created by pro on 16/2/26.
//  Copyright © 2016年 pro. All rights reserved.
//

import Foundation
import UIKit

let App_URL = "http://www.sina.com.cn"
let App_KEY = "2023187099"
let APP_SECERT = "643e4af080858b9c30f2db26139fa1a1"


//MARK:--系统宽高度
let kUIScreenBounds = UIScreen.mainScreen().bounds
let kUIScreenWidth = UIScreen.mainScreen().bounds.width
let kUIScreenHeight = UIScreen.mainScreen().bounds.height

//MARK:--颜色相关

//let randomColor = UIColor(red: CGFloat(random()%255)/255.0, green: CGFloat(random()%255)/255.0, blue: CGFloat(random()%255)/255.0, alpha: 1)

func randomColor() -> UIColor {
    return UIColor(red: CGFloat(random()%255)/255.0, green: CGFloat(random()%255)/255.0, blue: CGFloat(random()%255)/255.0, alpha: 1)
}


